package com.zide.ams.domain.vo.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;


/**
 * 文章分类对象 ams_category
 * 
 * @author zide
 * @date 2024-04-29
 */
@Data
@Schema(name = "出参 - 文章分类对象 ams_category")
public class AmsCategoryResultVO{
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    private Long id;

    @Schema(description = "父Id")
    private Long parentId;

    @Schema(description = "分类名称")
    private String name;

    @Schema(description = "点击量")
    private Long clickVolume;

    @Schema(description = "排序")
    private Integer sorts;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @Schema(description = "最后更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @Schema(description = "图标")
    private String icon;

    @Schema(description = "备注")
    private String remark;

}
